﻿@model LandPortMoblieWeb.Models.ChangePasswordModel

@{
    ViewBag.Title = "更改密码";
}

@section Header {
    <h1>@ViewBag.Title</h1>
}


@{
    if(ViewBag.cc!="myself")
    { 
        <div id="reminder" class="ui-corner-all custom-corners">
            <div class="ui-bar ui-bar-a">
                <h3>
                    提示:<lable style="color:red">*系统要求用户首次登陆需修改密码！</lable>
                </h3>
            </div>
        </div>
    }
}

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(false,"", new { style = "color:red" });

    <ul data-role="listview" data-inset="true" >
        <li data-role="list-divider" data-theme="b">帐户信息</li>
        <li data-role="fieldcontain">
            <label for="ower" style="float:left">用户名 :</label>
            <label id="ower" style="font-weight:bold">@ViewBag.RealName</label>
        </li>
        <li data-role="fieldcontain">
            @Html.LabelFor(m => m.NewPassword)
            @Html.PasswordFor(m => m.NewPassword)
        </li>
        <li data-role="fieldcontain">
            @Html.LabelFor(m => m.ConfirmPassword)
            @Html.PasswordFor(m => m.ConfirmPassword)
        </li>
        <li data-role="fieldcontain">
            <input type="submit" value="更改密码" />
        </li>
    </ul>
}
